import path from 'node:path';

const serverPath = path.normalize(path.dirname(process.argv[1])); // src/server
const pkgPath = path.normalize(serverPath + '/../../');

const clientPath = path.normalize(pkgPath + '/src/client/');
const nodeModulesPath = path.normalize(pkgPath + '/node_modules/');
const htmlTemplatePath = path.normalize(serverPath + '/template/index.html');

const assetParam = '?asset=';

export {pkgPath, serverPath, clientPath, nodeModulesPath, htmlTemplatePath, assetParam};
